package com.kish.ppt03;

public class Demo07 {
    public static void main(String[] args) {
        //循环嵌套
        //需求：在控制台使用 * 打印出4行5列的矩形
        int rows = 4;
        int columns = 5;
        for (int i = 0; i < rows; i++) {
            for (int j = 0; j < columns; j++) {
                System.out.print("* ");
            }
            System.out.println();
        }
    }
}
